<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <div th:fragment="resource">
        <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
        <!-- jquery 核心 javascript 文件 -->
        <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
        <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    </div>
    <div th:fragment="head">
        <div class="title">神奇的在线考试系统</div>
        <div class="option">
            <span>欢迎：</span>
            <div class="btn-group">
                <button type="button" id="optionButton" class="btn btn-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  [[${session.loginStudent.sname}]] <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="javascript:void(0)"><span id="user" class="glyphicon glyphicon-user"></span>个人信息</a></li>
                    <li><a href="javascript:void(0)"><span class="glyphicon glyphicon-lock"></span>修改密码</a></li>
                    <li><a href="javascript:void(0)"><span class="glyphicon glyphicon-remove"></span>退出系统</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div th:fragment="menu">
        <div class="menu">
            <ul class="nav nav-pills">
                <li role="presentation"><a onclick="studentExam.myExams()" href="javascript:void(0)"><span class="glyphicon glyphicon-th-large"></span>我的考试</a></li>
                <li role="presentation"><a onclick="studentExam.studentExamResultPage()" href="javascript:void(0)"><span class="glyphicon glyphicon-user"></span>成绩查询</a></li>
            </ul>
        </div>
    </div>
    <div th:fragment="common-modal">
        <div class="modal fade" id="common-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div id="modal-dialog" class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="label"></h4>
                    </div>
                    <div class="common-modal-body">

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button id="modal-submit-button" type="button" class="btn btn-primary">确认</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div th:fragment="foot">
        <div class="footer">@2020 神奇的开发集团
            <a style="position: relative;left: 30%" href="javascript:void(0)" onclick="document.body.scrollTop=0;document.documentElement.scrollTop=0">返回顶部</a>
        </div>

    </div>
</html>
